package top.tangyh.lamp.care.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import static com.baomidou.mybatisplus.annotation.SqlCondition.EQUAL;
import static top.tangyh.lamp.model.constant.Condition.LIKE;
import top.tangyh.basic.base.entity.Entity;


/**
 * <p>
 * 实体类
 * vte风险评分
 * </p>
 *
 * @author zqb
 * @date 2024-07-08 16:40:03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Builder
@TableName("b_care_pg_vte")
public class BCarePgVte extends Entity<Long> {


    /**
     * 病人识别号
     */
    @TableField(value = "patient_ident", condition = LIKE)
    @Schema(description = "病人识别号")
    private String patientIdent;
    /**
     * 住院号
     */
    @TableField(value = "hospital_number", condition = LIKE)
    @Schema(description = "住院号")
    private String hospitalNumber;
    /**
     * 评分人
     */
    @TableField(value = "pfr", condition = LIKE)
    @Schema(description = "评分人")
    private String pfr;
    /**
     * 评分时间
     */
    @TableField(value = "pf_time", condition = EQUAL)
    @Schema(description = "评分时间")
    private LocalDateTime pfTime;
    /**
     * 评估内容json串
     */
    @TableField(value = "json_text", condition = LIKE)
    @Schema(description = "评估内容json串")
    private String jsonText;
    /**
     * 创建人
     */

    /**
     * 
     */
    @TableField(value = "result", condition = LIKE)
    @Schema(description = "")
    private String result;
    /**
     * 类型 1 vte 2 肌酐 3 APACHEll
     */
    @TableField(value = "type", condition = EQUAL)
    @Schema(description = "类型 1 vte 2 肌酐 3 APACHEll")
    private Integer type;
    /**
     * 0未删除 1已删除
     */
    @TableField(value = "is_deleted", condition = EQUAL)
    @Schema(description = "0未删除 1已删除")
    private Integer isDeleted;
    /**
     * 0来自本系统 1来自his同步
     */
    @TableField(value = "source", condition = EQUAL)
    @Schema(description = "0来自本系统 1来自his同步")
    private Integer source;
    /**
     * 
     */
    @TableField(value = "push_status", condition = EQUAL)
    @Schema(description = "")
    private Integer pushStatus;
    /**
     * 
     */
    @TableField(value = "pf_type", condition = EQUAL)
    @Schema(description = "")
    private Integer pfType;



}
